package com.hgxd.entity.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * <p>
 * 从机和从机分组关联表
 * </p>
 *
 * @author wtf
 * @since 2024-09-02
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("rb_slave_link_group")
@ApiModel(value = "SlaveLinkGroup对象", description = "从机和从机分组关联表")
public class SlaveLinkGroup implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("从机id")
    private Integer slaveId;

    @ApiModelProperty("组id")
    private Integer slaveGroupId;

    @ApiModelProperty("从机名")
    private String slaveName;


}
